#ifndef HFRAME1_H
#define HFRAME1_H

#include "devcommon_global.h"

#include <QFrame>

class DEVCOMMONSHARED_EXPORT HFrame1 : public QFrame
{
    Q_OBJECT
public:
    explicit HFrame1(QWidget *parent = nullptr);
    ~HFrame1(){}

    enum BackgroundType{Normal, ItemBackground};

    HFrame1::BackgroundType backgroundType() const;
    void setBackgroundType(const BackgroundType &backgroundType);

protected:
    void paintEvent(QPaintEvent *) ;

private:
    BackgroundType mBackgroundType;
};

#endif
